#ifndef __EsClientNetwork_H__
#define __EsClientNetwork_H__

#include "Network/EssNetworkHeaders.h"
#include <string>

class EsClientNetwork : public EssNetwork
{
public:
	EsClientNetwork() : mLog("") {}

	virtual void onConnect(EssConnector* connector);
	virtual bool onReceive(EssConnector* connector);
	virtual void onConnectFailed(EssConnector* connector);
	virtual void onDisconnect(EssConnector* connector);

	const std::string& getLog() const { return mLog; }
	void appendLog(const char* log) { mLog += log; }

protected:
	std::string		mLog;
};

#endif // __EsClientNetwork_H__
